<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/v1/h5/pages/public/head.jsp"%>

<!-- 我的位置 -->
<div id="ldhLocation">
	<div data-role="header" class="header_fixed">
    	<a data-role="none" data-rel="back" class="back_btn">返回</a>
        <h1><a rel="external" href="${ctx}/h5/openCity.shtml">我的位置 · <em></em></a></h1>
    </div>
    <div data-role="content">
    	<div class="location">
        	<div class="location_top">
            	<span></span><span class="icon_location" onclick="$ldh_base.refreshLocation()"></span>
            </div>
            <div class="location_search clearfix"><input data-role="none" name="address" type="text" placeholder="请输入具体的地址"/><button data-theme="b" onclick="$ldh_location.searchAddress()">搜索</button></div>
            <div class="location_history search_history">
            	<!-- <dl>
                	<dt>历史位置</dt>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                </dl>
                <div class="location_clear">清空历史记录</div> -->
            </div>
            
             <div class="location_history search_current" style="display:none;">
            	<!-- <dl>
                	<dt>历史位置</dt>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                    <dd><p>车陂美好居</p></dd>
                </dl>
                <div class="location_clear">清空历史记录</div> -->
            </div>
        </div>
    </div>
    <script type="text/javascript">
    seajs.use([ctx+'/v1/h5/js/custom/base/component-location.js?'+Date.parse(new Date())],function(m){
		m.init(m);
		$("#ldhLocation .location_top span:eq(0)").html($ldh_base.getCookie("location"));
		
		$("#ldhLocation .header_fixed em").html($ldh_base.getCookie("city"));
		
		m.initMap();
		
		m.getSearchHistoryCookie();
	});

	 document.title="云便利-我的位置";
    </script>
</div>


<%@ include file="/v1/h5/pages/public/footer.jsp"%>
